package com.nipun.graph.objects;

public class DirectedWeightedEdge extends DirectedEdge {
	
	private double weight;
	
	public DirectedWeightedEdge(Vertex v1, Vertex v2, double weight){
		super(v1,v2);
		this.weight = weight;
	}

	public double getWeight() {
		return weight;
	}

	public void setWeight(double weight) {
		this.weight = weight;
	}
	

}
